package com.wnxy.service;

import com.wnxy.dto.OrderDto;
import com.wnxy.dto.OrderValidateDto;
import com.wnxy.model.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.vo.OrderValideVo;
import com.wnxy.vo.OrderVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author alice
 * @since 2021-10-25
 */
public interface OrderService extends IService<Order> {
OrderValidateDto sendCode(OrderValideVo orderValideVo) throws IllegalAccessException;

OrderDto createOrder() throws IllegalAccessException;

    void finish(String out_trade_no);

    void failure(String out_trade_no);
}
